package pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Achievement entity. @author MyEclipse Persistence Tools
 */

public class Achievement implements java.io.Serializable {

	// Fields

	private long achieveId;
	private Achievetype achievetype;
	private String achieveTitle;
	private String achieveDesc;
	private String achieveContent;
	private Date pubDate;
	private String pubMaga;
	private Integer paperNum;
	private String teacherName;
	private Set keies = new HashSet(0);
	private Set users = new HashSet(0);

	// Constructors

	/** default constructor */
	public Achievement() {
	}

	/** full constructor */
	public Achievement(Achievetype achievetype, String achieveTitle,
			String achieveDesc, String achieveContent, Date pubDate,
			String pubMaga, Integer paperNum, String teacherName, Set keies,
			Set users) {
		this.achievetype = achievetype;
		this.achieveTitle = achieveTitle;
		this.achieveDesc = achieveDesc;
		this.achieveContent = achieveContent;
		this.pubDate = pubDate;
		this.pubMaga = pubMaga;
		this.paperNum = paperNum;
		this.teacherName = teacherName;
		this.keies = keies;
		this.users = users;
	}

	// Property accessors

	public long getAchieveId() {
		return this.achieveId;
	}

	public void setAchieveId(long achieveId) {
		this.achieveId = achieveId;
	}

	public Achievetype getAchievetype() {
		return this.achievetype;
	}

	public void setAchievetype(Achievetype achievetype) {
		this.achievetype = achievetype;
	}

	public String getAchieveTitle() {
		return this.achieveTitle;
	}

	public void setAchieveTitle(String achieveTitle) {
		this.achieveTitle = achieveTitle;
	}

	public String getAchieveDesc() {
		return this.achieveDesc;
	}

	public void setAchieveDesc(String achieveDesc) {
		this.achieveDesc = achieveDesc;
	}

	public String getAchieveContent() {
		return this.achieveContent;
	}

	public void setAchieveContent(String achieveContent) {
		this.achieveContent = achieveContent;
	}

	public Date getPubDate() {
		return this.pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

	public String getPubMaga() {
		return this.pubMaga;
	}

	public void setPubMaga(String pubMaga) {
		this.pubMaga = pubMaga;
	}

	public Integer getPaperNum() {
		return this.paperNum;
	}

	public void setPaperNum(Integer paperNum) {
		this.paperNum = paperNum;
	}

	public String getTeacherName() {
		return this.teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public Set getKeies() {
		return this.keies;
	}

	public void setKeies(Set keies) {
		this.keies = keies;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

}